package org.grow.present.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import lombok.Data;
import org.grow.present.entity.enums.MaterialType;

/**
 * 
 * @TableName Material
 */
@TableName(value ="Material")
@Data
public class Material implements Serializable {
    /**
     * 
     */
    @TableId(value = "materialCode")
    private String materialCode;

    /**
     * 
     */
    @TableField(value = "materialLable")
    private String materialLable;

    /**
     * 
     */
    @TableField(value = "suggestPrice")
    private Double suggestPrice;

    /**
     * 
     */
    @TableField(value = "materialType")
    @EnumValue
    private MaterialType materialType;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}